//
//  DLUtilityFunc.h
//  dielianw
//
//  Created by 刘威 on 16/8/13.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DLUtilityFunc : NSObject

#pragma mark camera utility
+ (BOOL) isCameraAvailable;
+ (BOOL) isRearCameraAvailable;
+ (BOOL) isFrontCameraAvailable;
+ (BOOL) doesCameraSupportTakingPhotos ;
+ (BOOL) isPhotoLibraryAvailable;
+ (BOOL) canUserPickVideosFromPhotoLibrary;
+ (BOOL) canUserPickPhotosFromPhotoLibrary;
+ (BOOL) cameraSupportsMedia:(NSString *)paramMediaType sourceType:(UIImagePickerControllerSourceType)paramSourceType;

/**
 *  是否3.5寸屏幕
 *
 *  @return bool
 */
+ (BOOL)is3Point5InchScreen;

/**
 *  是否4寸屏幕
 *
 *  @return bool
 */
+ (BOOL)is4InchScreen;

/**
 *  是否5.5寸屏幕
 *
 *  @return bool
 */
+ (BOOL)is5Point5InchScreen;

/**
 *  是否4.7寸屏幕
 *
 *  @return bool
 */
+ (BOOL)is4Point7InchScreen;

@end
